#!/bin/sh

echo "Analytics ID: $GA_ID"

#typedoc --out docs --includeDeclarations --excludeExternals --listInvalidSymbolLinks --name "React Native Background Geolocation" --theme ./node_modules/typedoc-theme-transistor/src/default --mode file --gaID $GA_ID --gaSite "auto" ./src/declarations/

typedoc --out docs \
        --tsconfig ./scripts/tsconfig.json \
	--excludeExternals \
	--listInvalidSymbolLinks \
        --readme none \
	--name "React Native Background Geolocation" \
	--theme node_modules/\@transistorsoft/typedoc-theme/bin/default \
        --highlightTheme monokai \
	--gaID $GA_ID \
	--gaSite "auto" \
	--plugin ./node_modules/\@transistorsoft/typedoc-theme/node_modules/\@transistorsoft/typedoc-plugin-mediaplayer \
	--plugin ./node_modules/\@transistorsoft/typedoc-theme/node_modules/\@transistorsoft/typedoc-plugin-gitlink \
        --plugin ./node_modules/\@transistorsoft/typedoc-theme/node_modules/typedoc-plugin-merge-modules \
	./src/declarations/

touch ./docs/.nojekyll

